﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    public class Sys_StaffCollection : List<Sys_Staff>
    { 
       public int IndexOf(Sys_Staff item)
        {
            return base.IndexOf(item);
        }
        public void Insert(int index, Sys_Staff item)
        {
            base.Insert(index, item);
        }
        public new void RemoveAt(int index)
        {
            base.RemoveAt(index);
        }
        public Sys_Staff this[int index]
        {
            get
            {
                return base[index];
            }
            set
            {
                base[index] = value;
            }
        }
        public void Add(Sys_Staff item)
        {
            base.Add(item);
        }
        public new void Clear()
        {
            base.Clear();
        }
        public new bool Contains(Sys_Staff item)
        {
            return base.Contains(item);
        }
        public new void CopyTo(Sys_Staff[] array, int arrayIndex)
        {
            base.CopyTo(array, arrayIndex);
        }
        public new int Count
        {
            get
            {
                return base.Count;
            }
        }
        public bool IsReadOnly
        {
            get
            {
                return IsReadOnly;
            }
        }
        public new void Remove(Sys_Staff item)
        {
            base.Remove(item);
        }
        public new IEnumerator<Sys_Staff> GetEnumerator()
        {
            return base.GetEnumerator();
        }   
    }
    public class Sys_Staff
    {
        private int _IdStaff;

        public int IdStaff
        {
            get { return _IdStaff; }
            set { _IdStaff = value; }
        }
        private int _IdDept;

        public int IdDept
        {
            get { return _IdDept; }
            set { _IdDept = value; }
        }
        private int _IdPos;

        public int IdPos
        {
            get { return _IdPos; }
            set { _IdPos = value; }
        }
        private string _StaffCode;

        public string StaffCode
        {
            get { return _StaffCode; }
            set { _StaffCode = value; }
        }
        private int _IdUSer;

        public int IdUSer
        {
            get { return _IdUSer; }
            set { _IdUSer = value; }
        }
        private string _FullName;

        public string FullName
        {
            get { return _FullName; }
            set { _FullName = value; }
        }
        private Boolean _Sex;

        public Boolean Sex
        {
            get { return _Sex; }
            set { _Sex = value; }
        }
        private int _PersonCardID;

        public int PersonCardID
        {
            get { return _PersonCardID; }
            set { _PersonCardID = value; }
        }
        private DateTime _RecieceDate;

        public DateTime RecieceDate
        {
            get { return _RecieceDate; }
            set { _RecieceDate = value; }
        }
        private string _AreaReciece;

        public string AreaReciece
        {
            get { return _AreaReciece; }
            set { _AreaReciece = value; }
        }
        private DateTime _BirthDay;

        public DateTime BirthDay
        {
            get { return _BirthDay; }
            set { _BirthDay = value; }
        }
        private string _AreaBorn;

        public string AreaBorn
        {
            get { return _AreaBorn; }
            set { _AreaBorn = value; }
        }
        private string _Origin;

        public string Origin
        {
            get { return _Origin; }
            set { _Origin = value; }
        }
        private string _Religious;

        public string Religious
        {
            get { return _Religious; }
            set { _Religious = value; }
        }
        private string _People;

        public string People
        {
            get { return _People; }
            set { _People = value; }
        }
        private string _Adrress;

        public string Adrress
        {
            get { return _Adrress; }
            set { _Adrress = value; }
        }
        private string _Phone;

        public string Phone
        {
            get { return _Phone; }
            set { _Phone = value; }
        }
        private string _Fax;

        public string Fax
        {
            get { return _Fax; }
            set { _Fax = value; }
        }
        private string _Mail;

        public string Mail
        {
            get { return _Mail; }
            set { _Mail = value; }
        }
        private Boolean _Marriage;

        public Boolean Marriage
        {
            get { return _Marriage; }
            set { _Marriage = value; }
        }
        private string _Career;

        public string Career
        {
            get { return _Career; }
            set { _Career = value; }
        }
        private string _Degree;

        public string Degree
        {
            get { return _Degree; }
            set { _Degree = value; }
        }
        private string _ExtraInfo;

        public string ExtraInfo
        {
            get { return _ExtraInfo; }
            set { _ExtraInfo = value; }
        }
        private string _Image;

        public string Image
        {
            get { return _Image; }
            set { _Image = value; }
        }
        private DateTime _CreateDate;

        public DateTime CreateDate
        {
            get { return _CreateDate; }
            set { _CreateDate = value; }
        }
        private DateTime _UpdateDate;

        public DateTime UpdateDate
        {
            get { return _UpdateDate; }
            set { _UpdateDate = value; }
        }
        private int _CreateBy;

        public int CreateBy
        {
            get { return _CreateBy; }
            set { _CreateBy = value; }
        }
        private int _Status;

        public int Status
        {
            get { return _Status; }
            set { _Status = value; }
        }
    }
}
